<admintpl file="header" />
<style type="text/css">
.pic-list li {
	margin-bottom: 5px;
}
</style>
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:U('Sjgadmin/index')}">机构管理</a></li>
			<li class="active"><a href="{:U('Sjgadmin/add',array('term'=>empty($term['term_id'])?'':$term['term_id']))}" target="_self">{:L('ADD')}</a></li>
		</ul>
		
			   <form method="post" class="form-horizontal js-ajax-form" action="__CONTROLLER__/add_post">
					<fieldset>
								<div class="control-group">
									<label class="control-label">{:L('JGID')}</label>									
									<div class="controls">
										<input type="text" name="jg_id">
									</div>					
								</div>
								<div class="control-group">
									<label class="control-label">{:L('JGNAME')}</label>									
									<div class="controls">
										<input type="text" name="jg_name">
									</div>					
								</div>								
					</fieldset>
					<div class="form-actions">
						<button type="submit" class="btn btn-primary js-ajax-submit">{:L('ADD')}</button>
						<a class="btn" href="{:U('Sjgadmin/index')}">{:L('BACK')}</a>
					</div>
				</form>
	</div>	
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
	
</body>
</html>

  <form id="addform" action="{:U('admin/goods/upload')}" method="post" enctype="multipart/form-data">
  <input name="id" type="hidden" value="{$goods_info.id}" />
        <div class="control-group">
          <label>Excel表格：</label>
                <input type="file" name="excelData" value=""  datatype="*4-50"  nullmsg="请填写产品！" errormsg="不能少于4个字符大于50个汉字"/>
                <span class="Validform_checktip"></span>
        </div>



        <div class="control-group">
          <img style="display:none;" src="images/loading.gif" />
          <input type="submit" class="btn btn-primary Sub" value="导入" />
        </div>
    </form>
  